import { request } from "../request"

const getAllOrders = async (userId) => {
  const res = await request({
    url: '/orders/get_all_orders',
    params: {
      userId
    }
  })
  return res
}

export {
  getAllOrders
}